const Mock = require('mockjs')
module.exports = {
    "/user/login": function (body) {
        //all
        console.log(Mock.mock)
        let data = Mock.mock({
            "msg": "SUCCESS",
            "resCode": 1,
            "resObj": {
                "ipAddr": "0|0|0|内网IP|内网IP",
                "isjob": 1,
                "lastLoginTime": "2018-06-26 10:15:56",
                "loginIp": "0:0:0:0:0:0:0:1",
                "mobile": "+66 9 5083 6117",
                "userId": 21,
                "userName": "superAdmin"
            }
        })
        return data;
    }

};